
package ae.pcfc.etks.finance.types.v2;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 * 				Request Type for servicePayment
 * 			
 * 
 * 
 * 						Service Base Type for servicePayment
 * 							quantity: Quantity of the service. Maximum value Number(10,2)
 * 							serviceParameter: Service parameter type is passed
 * 					
 * 
 * <p>Java class for servicePaymentRequestType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="servicePaymentRequestType">
 *   &lt;complexContent>
 *     &lt;extension base="{http://pcfc.ae/etks/finance/types/v2}serviceBaseType">
 *       &lt;sequence>
 *         &lt;element name="quantity" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="serviceParameter" type="{http://pcfc.ae/etks/finance/types/v2}serviceParameterType" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "servicePaymentRequestType", propOrder = {
    "quantity",
    "serviceParameter"
})
public class ServicePaymentRequestType
    extends ServiceBaseType
{

    protected int quantity;
    protected List<ServiceParameterType> serviceParameter;

    /**
     * Gets the value of the quantity property.
     * 
     */
    public int getQuantity() {
        return quantity;
    }

    /**
     * Sets the value of the quantity property.
     * 
     */
    public void setQuantity(int value) {
        this.quantity = value;
    }

    /**
     * Gets the value of the serviceParameter property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the serviceParameter property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getServiceParameter().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ServiceParameterType }
     * 
     * 
     */
    public List<ServiceParameterType> getServiceParameter() {
        if (serviceParameter == null) {
            serviceParameter = new ArrayList<ServiceParameterType>();
        }
        return this.serviceParameter;
    }

}
